import Common from '@/mixins/order/common.js';
const ExportDefault = {
    mixins: [Common],
    data() {
        
        return {
            
        };
    },
  mounted() {
      debugger
      
      this.Isshow("0","10461369");
      this.Isshow("0","10461370");
    },
    computed: {
      },
    methods: {

      aaa(){
        
      },
      inputModeChange(){
        var val = this.formData["10461368-100013696"].value;
        

        if(val == "80050060002"){
          this.Isshow("0","10461373");
          this.Isshow("0","10461374")
        }else if(val == "80050060003"){
          this.Isshow("0","10461372");
          this.Isshow("0","10461374")
        }else if(val == "80050060004"){
          this.Isshow("0","10461372");
          this.Isshow("0","10461373");
        }else if(val == null || val == ''){
          this.Isshow("0","10461372");
          this.Isshow("0","10461373");
          this.Isshow("0","10461374");
        }
      },
      equipMoney(val){
        if (val > 60000) {
            this.$message({
              type: "warn",
              message: "设备费不能超过60000元!",
            });
            val = 0;
          }
      },
      fixOnceChange(val){
          
          if(val == "1"){
            this.formData["10461371-100013338"].disabled = "disabled";
            this.formData["10461371-100012523"].disabled = "disabled";
            this.formData["1940-100012523"].disabled = "disabled";
            if(this.formData["10461368-100013696"].val == "80050060002"){
              this.formData["10461372-100011406"].disabled = "disabled";
            }else if(this.formData["10461368-100013696"].val == "80050060003"){
              this.formData["10461373-100011404"].disabled = "disabled";
              this.formData["10461373-100011301"].disabled = "disabled";
            }else if(this.formData["10461368-100013696"].val == "80050060004"){
              this.formData["10461374-100012764"].disabled = "disabled";
              this.formData["10461374-100012765"].disabled = "disabled";
            }
          }

      }
    },
}

export default ExportDefault;